<?php
//name=Java从入门到去世0&author=明日科技&info=明日科技明日科技明日科技明日科技明日科技&date=2020-07-10
error_reporting(0);
$id = $_POST['id'];
$name = $_POST['name'];
$author = $_POST['author'];
$info = $_POST['info'];
$date = $_POST['date'];
$opt = $_POST['opt'];
if ($_SERVER['REQUEST_METHOD'] != 'POST') {
    exit('false');
}



//if ($opt == 'save') {
//
//} else if ($opt == 'modify') {
//
//} elseif ($opt == 'del') {
//
//}




function insert($name, $author, $info, $date)
{

}


function modify($id, $name, $author, $info, $date)
{

}

function delete($id)
{

}